package com.prs.crm.service.crm.impl;

import java.io.Serializable;

import com.prs.crm.dao.crm.RecodhaifenDao;
import com.prs.crm.domain.crm.Recodhaifen;
import com.prs.crm.domain.crm.mainBill;
import com.prs.crm.service.crm.RecodhaifenService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class RecodhaifenServiceImpl extends
		BaseServiceImpl<Recodhaifen, RecodhaifenDao> implements
		RecodhaifenService {

	@Override
	public Recodhaifen getRecord() {
		
		return this.getDao().getRecord();
	}

	@Override
	public void updateRecord(String record, Recodhaifen hf) {
		this.getDao().updateRecord(record, hf);
		
	}

	@Override
	public Recodhaifen getRecodhaifen(Serializable id) {
		
		return this.getDao().getRecodhaifen(id);
	}

	@Override
	public int SerchBill(String mainBill) {
		
		return this.getDao().SerchBill(mainBill);
	}

	@Override
	public void saveBill(mainBill mb) {
		this.getDao().saveBill(mb);
	}

}
